import { ApiProperty } from '@nestjs/swagger';
import { IsOptional } from 'class-validator';
import { BaseDto } from './base.dto';

export class TaskDto extends BaseDto {
  @ApiProperty({
    description: '数据集名称',
    required: true,
    type: String,
    example: '42543',
  })
  datasetId: number;
}
